package com.glink.manage.dto.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : qiushaoshan
 * @create 2024/6/20 14:48
 */
@Data
public class UserRelaAccountDTO {
    
    @ApiModelProperty(name = "userId", value = "用户ID", required = true)
    @NotBlank(message = "用户信息不能为空")
    private String userId;

    @ApiModelProperty(name = "accountName", value = "第三方账号名", required = true)
    @NotBlank(message = "第三方账号名不能为空")
    @Size(max = 128, message = "第三方账号名不能超过128个字符")
    private String accountName;

    @ApiModelProperty(name = "fullName", value = "第三方账号姓名", required = true)
    @NotBlank(message = "姓名不能为空")
    @Size(max = 128, message = "姓名不能超过128个字符")
    private String fullName;

    @ApiModelProperty(name = "accountId", value = "第三方账号ID")
    @Size(max = 64, message = "第三方账号ID不能超过128个字符")
    private String accountId;
}
